<?php

class Services_IndexController extends Zend_Controller_Action {
    public function init() {

    
	}

    public function indexAction() {
        $this->view->test = 'text';
        
        
        $servicesManager = new \Managers\Services();
        
        $this->view->allServicesList = $servicesManager->getAllServiceList();
        
        $shortNames = array();
        
        foreach($this->view->allServicesList as $value){
            $shortNames[$value->getServiceId()] = $value->getShortName();
        }
        
        $this->view->shortNames = array_flip($shortNames);
        
    }

}

